#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int main()
{
	int a = 0;
	int b = 0;
	int c = 0;
	printf("请输入函数f(x)=x^2+x的自变量\nx=");
	scanf("%d", &a);
	b = a * a;
	c = a + b;
	printf("f(%d)=%d", a, c);
	return 0;
}
